﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class m_Production : DataObject
    {
        [ID]
        [DID]

        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("TW_ListPrice", "ID");
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("m_Production", "Process");
        [Column]
        public string Step { get { return _Step; } set { _Step = value; EntityState.FieldChange("Step"); } } private string _Step; public static FieldInfo step = new FieldInfo("m_Production", "Step");
        [Column]
        public string Production_Type { get { return _Production_Type; } set { _Production_Type = value; EntityState.FieldChange("Production_Type"); } } private string _Production_Type; public static FieldInfo production_Type = new FieldInfo("m_Production", "Production_Type");
        [Column]
        public string Distribute { get { return _Distribute; } set { _Distribute = value; EntityState.FieldChange("Distribute"); } } private string _Distribute; public static FieldInfo distribute = new FieldInfo("m_Production", "Distribute");
        [Column]
        public string Recipient { get { return _Recipient; } set { _Recipient = value; EntityState.FieldChange("Recipient"); } } private string _Recipient; public static FieldInfo recipient = new FieldInfo("m_Production", "Recipient");
        [Column]
        public string RecipientName { get { return _RecipientName; } set { _RecipientName = value; EntityState.FieldChange("RecipientName"); } } private string _RecipientName; public static FieldInfo recipientName = new FieldInfo("m_Production", "RecipientName");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("m_Production", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("m_Production", "Status");
        [Column]
        public string Type { get { return _Type; } set { _Type = value; EntityState.FieldChange("Type"); } } private string _Type; public static FieldInfo type = new FieldInfo("m_Production", "Type");


    }
}
